package com.sxbang.bms.aopdemo;

public class Test {
    public static void main(String[] args) {
        CarService carService = new CarServiceImpl();
        CarService proxy = (CarService) ProxyBean.getProxyBean(carService, new MyInterceptor());
        proxy.runCar("Alex");
    }
}
